import Pagetools from '@/components/Pagetools'
import uploadExcel from '@/components/UploadExcel'
import UploadImg from '@/components/Uploadimg'
import FullScreen from '@/components/SvgIcon/fullScreen'
export default {
  install(Vue) {
    // 注册全局组件
    Vue.component(
      'PageTools',
      Pagetools
    )
    // 给一个值乘以2的方法
    Vue.prototype.$map = (xx) => {
      return xx * 2
    }
    Vue.component(
      'uploadExcel',
      uploadExcel
    )
    Vue.component('UploadImg', UploadImg)
    Vue.component('FullScreen', FullScreen)
  }
}
